package BubbleSort;

import static org.junit.jupiter.api.Assertions.assertEquals;
import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.*;

class BubbleSortTest {

    @Test
    void sort() {
        int[] expect = {1,2,3,4,5};
        int[] a1 = {5,2,3,4,1};
        BubbleSort.sort(a1);
     assertArrayEquals(expect,a1);

        int[] a2 = {2,4,5,3,1};
        BubbleSort.sort(a2);
        assertArrayEquals(expect,a2);

    }
}